<template>
    <div class="box2">
        <!-- <p>我是企业端企业中心</p> -->
        <div class="money1">
           <div style="float:left;margin-top:10px;width:240px;height:200px; display: inline-block;"><img src="@/assets/images/组 2567.png"></div>
           
             <!-- <el-button plain size="mini" style="float:right; margin-right:20px;margin-top:20px">提现设置</el-button> -->
           <div style="margin-left:10px;margin-top:10px;float:left;">
             
             
             <span style="font-size:14px;color:#6c6d6e;">当前任务</span><br><br>
              <b>  <span style="font-size:23px;">任务的标题，悬赏任务的标题</span></b>
            <br><br>
            <span style="font-size:14px;color:#6c6d6e">距离任务截止时间：</span><el-link type="primary" disabled>99:99:99</el-link><br><br>
            <!-- <span  style="font-size:27px;color:#5CD5C8">3,150</span><span style="color:#5CD5C8">元</span> -->
            <!-- <br><br> -->
            <el-button @click="gotj" type="primary" size="mini" >提交任务</el-button><el-button @click="goxq" size="mini" plain>任务详情</el-button>
            
           </div>
           <div style="margin-top:90px;float:right; display: inline-block;"><img src="@/assets/images/蒙版组 25.png"></div>
        </div>
        <div class="notes">
            <!-- 头部 -->

    <div class="menu2">
      <img src="@/assets/images/组 2579.png">  <span><b>历史任务</b></span>
    
    </div>
  
    <!-- +++++++++++++++++++++++++++++++++++表格+++++++++++++++++++++++++++++++++++++++++++++++++++= -->
    <div class="table">
      <el-table :data="tableData"  class="tableBox1" style="width: 98%">
        <el-table-column prop="numbering" label="任务编号" width="200">
        </el-table-column>
        <el-table-column prop="name" label="任务名称" width="210">
        </el-table-column>
        <el-table-column prop="reward" label="任务奖励" width="200">
        </el-table-column>
        <el-table-column prop="level" label="任务级别" width="195">
           <!-- <el-button @click="gosh" type="primary" size="mini" plain>普通</el-button> -->
        </el-table-column>
        <el-table-column prop="time" label="任务时限" width="195">
        </el-table-column>
        <el-table-column prop="date" label="任务截止时间(任务提交时间)">
        </el-table-column>
      </el-table>
    </div>
    <!-- +++++++++++++++++++分页+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= -->
    <div class="pag1">
      <div class="block">
        <!-- <span class="demonstration">直接前往</span> -->
        <el-pagination
          background
        
          layout="prev, pager, next, jumper"
          :total="1000"
        >
        </el-pagination>
      </div>
    </div>
        </div>
    </div>
</template>

<script>
export default {
  methods:{
    gorz(){
       this.$router.push('/qyrz');
    },
     gotj(){
       this.$router.push('/Usertjrw');
    },
    goxq(){
       this.$router.push('/Userrwxq');
    }
  },
  data() {
    return {
      tableData: [
        {
          numbering: "0123456789",
          name: "任务的名称长",
          reward: "1,000",
          level: "一般",
          time: "3天",
          date: "2021-10-10",
        },
        {
          numbering: "",
          name: "",
          reward: "",
          level: "",
          time: "",
          date: "",
        },
        {
          numbering: "",
          name: "",
          reward: "",
          level: "",
          time: "",
          date: "",
        },
        {
          numbering: "",
          name: "",
          reward: "",
          level: "",
          time: "",
          date: "",
        },
        {
          numbering: "",
          name: "",
          reward: "",
          level: "",
          time: "",
          date: "",
        },
        {
          numbering: "",
          name: "",
          reward: "",
          level: "",
          time: "",
          date: "",
        },
        
      ],
    };
  },
};
</script>


<style lang="scss">
.tableBox1 {
  th {
    padding: 0 !important;
    height: 40px;
    line-height: 40px;
  }
  td {
    padding: 0 !important;
    height: 40px;
    line-height: 40px;
  }
}
.box2 {
  width: 1250px;
  height: 660px;
  background-color: #E9EEF3;
  /* padding-top: 50px; */
}

#el-menu {
  background-color: white;
}

.menu2 img {
  /* background: white; */
//   padding-top: 5%;
   width: 30px;
    height: 30px;
    display: inline-block;
    // float: left;
    margin-top: 10px;
    margin-left: 2%;

}
.menu2 span{
  position: absolute;
  top: 13px;
  left: 60px;
  }
.table {
  padding-top: 10px;
  margin-left: 2%;
}
.pag1 {
  /* margin-top: 4%; */
  /* margin-left: 25%; */
  position: absolute;
  top: 380px;
  left: 24.9%;
}
.money1{
    width: 1250px;
    height: 200px;
    background-color: white;
    // border: #D8DCE3 solid 1px;
    position: absolute;
    top: 80px;
    border-radius: 4px;
}
.notes{
    width: 1250px;
    height: 440px;
    background-color: white;
    // border: #D8DCE3 solid 1px;
    position: absolute;
    top: 300px;
    border-radius: 4px;
}
</style>